//
//  TJEmojiTextAttachment.m
//  XWC
//
//  Created by Hello on 2022/10/24.
//

#import "HJEmojiTextAttachment.h"

@implementation HJEmojiTextAttachment

- (CGRect)attachmentBoundsForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex {
    return CGRectMake(0, 0, _emojiSize.width, _emojiSize.height);
}


@end
